package com.neusoft.controller;

import com.neusoft.service.BanjiFeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("banji/feign")
public class BanjiConsumerFeignController {
    @Autowired
    private BanjiFeignService banjiFeignService;

    @RequestMapping("queryAll")
    public Object queryAll(){
        return banjiFeignService.queryAll();
    }
}
